package com.ruoyi.project.travel.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.MbEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 景区统计 对象 tr_scenic_stat
 *
 * @author HYD
 * @date 2020-06-14
 */
@Data
@TableName("tr_scenic_stat")
@ApiModel(value="tr_scenic_stat对象", description="景区统计 ")
public class ScenicStat extends MbEntity {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Long id;

    @Excel(name = "景点编号")
    @TableField("scenic_id")
    @ApiModelProperty(value = "景点编号")
    private Long scenicId;

    @Excel(name = "累积浏览数")
    @TableField("browse_num")
    @ApiModelProperty(value = "累积浏览数")
    private Long browseNum;

    @Excel(name = "累计预约数")
    @TableField("appointment_num")
    @ApiModelProperty(value = "累计预约数")
    private Long appointmentNum;

    @Excel(name = "累计购买数")
    @TableField("buy_num")
    @ApiModelProperty(value = "累计购买数")
    private Long buyNum;

    @Excel(name = "累计使用数")
    @TableField("use_num")
    @ApiModelProperty(value = "累计使用数")
    private Long useNum;


}
